package com.xszx.service;

import com.xszx.entity.*;

import java.util.List;

/**
 * @description:
 * @author:瓦达西瓦
 * @date:2024/10/31
 */
public interface AdminService {
    List<Goods> getGoodList();



    Integer delGood(int gid);



    List<Goods> getGoodMoHuList(Goods goods,Double minprice,Double maxprice);

    Integer checkGid(int gid);

    List<Order> getOrderList();
    List<Order> getOrderMoHuList(Order order);



    Integer rtMoney(Order oid);

    Integer IfrtMoney(Integer oid, Integer rtmoney);

    Integer checkTime(String oid);

    List<Comments> getMommentList();

    Integer delComment(int cid);

    Integer checkGood(Integer gid);

    Integer checkGoodResult(Goods goods, Integer p);

    List<Goods> getcheckGood();

    List<Order> getrtMoney();

    List<Comments> getComment(Integer uid);

    Integer goComment(Comments comment);

    Integer checkIfrtmoney(Order order);

    void delOrder(Order order);

    Goods getGoodsDetails(Integer gid);

    Integer addShopping(Integer uid, Integer gid);

    List<User> getUser(User user, Double num1, Double num2);

    void delUser(int id);

    User upUser(int uid);

    void updateUser(User user);

    void addUser(User user);

    String getAddress(String se3);

    List<Goodtype> getGoodType();

    void addGoodType(Goodtype goodtype);

    int getGtName(Goodtype goodtype);

    void delGoodType(Goodtype goodtype);

    void updateGoodType(Goodtype goodtype);

    Goodtype upGoodType(int gtid);

    List<Merchant> getMerchant(Merchant merchant);

    void addMerchant(Merchant merchant);

    void upMerchant(Merchant merchant);

    void delMerchant(Merchant merchant);

    List<User> getUsers();

    void upStatus(Goods goods);

    void updateStatus(Goods goods);

    void delGoodUser(String uid);

    List<Glo> getSe1();

    List<Glo> getSe2(String se1);

    void upRvtime(Orders orders);

    void pay(Orders orders);

    void updateBStatus(int a);

    void upBStatus(int a);

    void upBUser(int a);

    Integer Ifadd(int gid);


}
